<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2020/7/31
  Time: 11:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--引入标签库   使用JSPL标签库   c为标签的名字 --%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--list 为循环的集合--%>
<html>
<head>
    <link href="css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="CLEditor1_3_0/jquery.cleditor.css">
    <script src="CLEditor1_3_0/jquery.min.js"></script>
    <script src="CLEditor1_3_0/jquery.cleditor.js"></script>
    <script>
        $(document).ready(function () {
            $("#input").cleditor();
        });
    </script>
    <title>Title</title>
    <style>
        .form_1{
            width: 500px;
            height: 500px;
            /*background-color: chartreuse;*/
            position: absolute;
            top: 100px;
            left: 550px;
        }
        .form_1 input,.form_1 textarea{
            position: absolute;
            right: 100px;
        }
        .form_1 span{
            position: absolute;
            left: 100px;
        }
        .form_1 button{
            position: absolute;
            left: 300px;
            bottom: -50px;
        }
    </style>
</head>
<body>
<div class="container">
    <form action="add" method="post" class="form_1">
        <span>id</span> <input name="id" type="text" required value="${sessionScope.list_update[0]}"> <br><br>
        <span>name</span> <input name="name" type="text" required value="${sessionScope.list_update[1]}"> <br><br>
        <span>phone</span> <input name="phone" type="text" required value="${sessionScope.list_update[2]}"> <br><br>
        <span>email</span> <input name="email" type="text" required value="${sessionScope.list_update[3]}"> <br><br>
        <span>title</span> <input name="title" type="text" required value="${sessionScope.list_update[4]}"> <br><br>

        <span>content</span> <br><textarea name="content"  required cols="23" rows="8" id="input" >${sessionScope.list_update[5]} </textarea> <br><br>

        <button  type="submit"> 确定
        </button>



    </form>
</div>
</body>
</html>
